<!--
 * @Author: ljc
 * @Date: 2024-08-27 15:48:54
 * @LastEditors: g05047
 * @LastEditTime: 2025-01-21 10:00:12
 * @Description: 区划和单位树背景颜色
-->

<template>
  <el-form-item v-if="treeType === 'ad'"
    :label="i18nt('designer.setting.adBgc')">
    <el-color-picker v-model="optionModel.adConfig.adBgc"
      show-alpha />
  </el-form-item>
  <el-form-item v-else
    :label="i18nt('designer.setting.agBgc')">
    <el-color-picker v-model="optionModel.agConfig.agBgc"
      show-alpha />
  </el-form-item>
</template>
<script>
import i18n from "@/utils/i18n"
export default {
  name: "treeBgc-editor",
  mixins: [i18n],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object,
    treeType: String,
  },
}
</script>
<style scoped>
</style>
